package com.ruoyi.commodity.service;

import com.ruoyi.commodity.domain.Commodity;

import java.util.List;

/**
 * @description:
 * @author: Steven 
 * @date: 2023/7/7 0007 10:53
 * @param: 
 * @return: 
 **/
public interface ICommodityService {

    boolean checkCommodityNameUnique(Commodity commodity);

    int insertCommodity(Commodity commodity);

    List<Commodity> serviceSelectCommodityList(Commodity commodity);

    Commodity selectCommodityById(Long commodityId);

    int updateCommodity(Commodity commodity);

    int deleteCommodityById(Long[] commodityIds);

}
